package cn.tedu.stx_admin.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("stx_server_admin")
public class Admin implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String adminName;

    private String password;

    private String imgUrl;

    private Integer roleId;

    private Integer gender;

    private String phone;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;
}
